<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: syslog4cj.server.common.SyslogServerConfigIF Interface Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacesyslog4cj.html">syslog4cj</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1server.html">server</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1server_1_1common.html">common</a></li><li class="navelem"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html">SyslogServerConfigIF</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">syslog4cj.server.common.SyslogServerConfigIF Interface Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for syslog4cj.server.common.SyslogServerConfigIF:</div>
<div class="dyncontent">
 <div class="center">
  <img src="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.png" usemap="#syslog4cj.server.common.SyslogServerConfigIF_map" alt=""/>
  <map id="syslog4cj.server.common.SyslogServerConfigIF_map" name="syslog4cj.server.common.SyslogServerConfigIF_map">
<area href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServerConfig.html" alt="syslog4cj.server.impl.AbstractSyslogServerConfig" shape="rect" coords="175,56,516,80"/>
<area href="interfacesyslog4cj_1_1server_1_1impl_1_1net_1_1TCPNetSyslogServerConfigIF.html" alt="syslog4cj.server.impl.net.TCPNetSyslogServerConfigIF" shape="rect" coords="877,56,1218,80"/>
<area href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1AbstractNetSyslogServerConfig.html" alt="syslog4cj.server.impl.net.AbstractNetSyslogServerConfig" shape="rect" coords="175,112,516,136"/>
<area href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1TCPNetSyslogServerConfig.html" alt="syslog4cj.server.impl.net.TCPNetSyslogServerConfig" shape="rect" coords="702,112,1043,136"/>
<area href="interfacesyslog4cj_1_1server_1_1impl_1_1net_1_1TlsTCPNetSyslogServerConfigIF.html" alt="syslog4cj.server.impl.net.TlsTCPNetSyslogServerConfigIF" shape="rect" coords="1053,112,1394,136"/>
<area href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1TCPNetSyslogServerConfig.html" alt="syslog4cj.server.impl.net.TCPNetSyslogServerConfig" shape="rect" coords="0,168,341,192"/>
<area href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1UDPNetSyslogServerConfig.html" alt="syslog4cj.server.impl.net.UDPNetSyslogServerConfig" shape="rect" coords="351,168,692,192"/>
<area href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1TlsTCPNetSyslogServerConfig.html" alt="syslog4cj.server.impl.net.TlsTCPNetSyslogServerConfig" shape="rect" coords="702,168,1043,192"/>
<area href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1TlsTCPNetSyslogServerConfig.html" alt="syslog4cj.server.impl.net.TlsTCPNetSyslogServerConfig" shape="rect" coords="1053,168,1394,192"/>
<area href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1TlsTCPNetSyslogServerConfig.html" alt="syslog4cj.server.impl.net.TlsTCPNetSyslogServerConfig" shape="rect" coords="0,224,341,248"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6637f3cf8a67f5edc297d499f8d43804"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#a6637f3cf8a67f5edc297d499f8d43804">createSyslogServer</a> ():<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a></td></tr>
<tr class="separator:a6637f3cf8a67f5edc297d499f8d43804"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47ea014cf66bcaad8592704f89d6273f"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#a47ea014cf66bcaad8592704f89d6273f">getHost</a> ():String</td></tr>
<tr class="separator:a47ea014cf66bcaad8592704f89d6273f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5f8a1e3b35cf689c452e6c9c4f7f359"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#aa5f8a1e3b35cf689c452e6c9c4f7f359">setHost</a> (String host):Unit</td></tr>
<tr class="separator:aa5f8a1e3b35cf689c452e6c9c4f7f359"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94b0fa2504852751f58914289aa13650"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#a94b0fa2504852751f58914289aa13650">getPort</a> ():UInt16</td></tr>
<tr class="separator:a94b0fa2504852751f58914289aa13650"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad96606f134c6966bd8ea71a6882946f7"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#ad96606f134c6966bd8ea71a6882946f7">setPort</a> (UInt16 port):Unit</td></tr>
<tr class="separator:ad96606f134c6966bd8ea71a6882946f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad00cd9dddf822d16d0e92f14a18e7f9b"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#ad00cd9dddf822d16d0e92f14a18e7f9b">getEventHandlers</a> ():ArrayList&lt; <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF.html">SyslogServerEventHandlerIF</a> &gt;</td></tr>
<tr class="separator:ad00cd9dddf822d16d0e92f14a18e7f9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0008b3824b72945df13c31f1e927c92"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#aa0008b3824b72945df13c31f1e927c92">getShutdownWait</a> ():Int64</td></tr>
<tr class="separator:aa0008b3824b72945df13c31f1e927c92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d9354e70b71f6e8ec772bd38bb23e53"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#a4d9354e70b71f6e8ec772bd38bb23e53">setShutdownWait</a> (Int64 shutdownWait):Unit</td></tr>
<tr class="separator:a4d9354e70b71f6e8ec772bd38bb23e53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d0d74bf21574a4924f0bff4f970a8da"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#a9d0d74bf21574a4924f0bff4f970a8da">addEventHandler</a> (<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF.html">SyslogServerEventHandlerIF</a> eventHandler):Unit</td></tr>
<tr class="separator:a9d0d74bf21574a4924f0bff4f970a8da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75ba33dee69a1235317c5caf960ef36f"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#a75ba33dee69a1235317c5caf960ef36f">insertEventHandler</a> (Int64 pos, <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF.html">SyslogServerEventHandlerIF</a> eventHandler):Unit</td></tr>
<tr class="separator:a75ba33dee69a1235317c5caf960ef36f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f7a48cd393dcf0665c670302418cb82"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#a1f7a48cd393dcf0665c670302418cb82">removeEventHandler</a> (<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF.html">SyslogServerEventHandlerIF</a> eventHandler):Unit</td></tr>
<tr class="separator:a1f7a48cd393dcf0665c670302418cb82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f13eee15fca3622f22a51af176fb942"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#a3f13eee15fca3622f22a51af176fb942">removeAllEventHandlers</a> ():Unit</td></tr>
<tr class="separator:a3f13eee15fca3622f22a51af176fb942"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5345b1c553b5162c893e8f5a3b88427f"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#a5345b1c553b5162c893e8f5a3b88427f">isUseStructuredData</a> ():Bool</td></tr>
<tr class="separator:a5345b1c553b5162c893e8f5a3b88427f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fbaede54eaf4e985370c416fcda4b95"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#a5fbaede54eaf4e985370c416fcda4b95">setUseStructuredData</a> (Bool useStructuredData):Unit</td></tr>
<tr class="separator:a5fbaede54eaf4e985370c416fcda4b95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4da2143b8cf9de92af013b3cedd45c69"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#a4da2143b8cf9de92af013b3cedd45c69">getDateTimeFormatter</a> ():?DateTimeFormat</td></tr>
<tr class="separator:a4da2143b8cf9de92af013b3cedd45c69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5839a5025377bea3396aa250b2d7a85"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerConfigIF.html#ac5839a5025377bea3396aa250b2d7a85">setDateTimeFormatter</a> (DateTimeFormat dateTimeFormatter):Unit</td></tr>
<tr class="separator:ac5839a5025377bea3396aa250b2d7a85"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>SyslogServerConfigIF 提供一个通用的、可扩展的配置接口，供所有实现 SyslogServerIF 的类使用, 定义了与 Syslog 服务器的基本配置相关的操作，例如主机、端口、线程设置等。 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a9d0d74bf21574a4924f0bff4f970a8da" name="a9d0d74bf21574a4924f0bff4f970a8da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d0d74bf21574a4924f0bff4f970a8da">&#9670;&#160;</a></span>addEventHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.addEventHandler </td>
          <td>(</td>
          <td class="paramname"><em>eventHandler</em>:&#160;</td>
          <td class="paramtype">SyslogServerEventHandlerIF</td><td>)</td>
          <td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>向事件处理器列表添加一个事件处理器。 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">eventHandler</td><td>要添加的事件处理器 </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServerConfig.html#a959aa623deef2f387d1384c47e805f44">syslog4cj.server.impl.AbstractSyslogServerConfig</a>.</p>

</div>
</div>
<a id="a6637f3cf8a67f5edc297d499f8d43804" name="a6637f3cf8a67f5edc297d499f8d43804"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6637f3cf8a67f5edc297d499f8d43804">&#9670;&#160;</a></span>createSyslogServer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.createSyslogServer </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建 syslog server 实例 </p><dl class="section return"><dt>Returns</dt><dd>syslog server 实例 </dd></dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServerConfig.html#a0a54d37f600aae06cf3f155dfef7e47b">syslog4cj.server.impl.AbstractSyslogServerConfig</a>, <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1TCPNetSyslogServerConfig.html#a9baaba9b54db3c47480a9a3d51e50d71">syslog4cj.server.impl.net.TCPNetSyslogServerConfig</a>, <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1TlsTCPNetSyslogServerConfig.html#a3cd4c7b3430cd78783155cbe1825acfe">syslog4cj.server.impl.net.TlsTCPNetSyslogServerConfig</a>, and <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1UDPNetSyslogServerConfig.html#a5033c826141dca455c07e742e341b197">syslog4cj.server.impl.net.UDPNetSyslogServerConfig</a>.</p>

</div>
</div>
<a id="a4da2143b8cf9de92af013b3cedd45c69" name="a4da2143b8cf9de92af013b3cedd45c69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4da2143b8cf9de92af013b3cedd45c69">&#9670;&#160;</a></span>getDateTimeFormatter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.getDateTimeFormatter </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: ?DateTimeFormat</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取日期时间格式化器对象，用于格式化日志的时间戳。 </p><dl class="section return"><dt>Returns</dt><dd>日期时间格式化器对象 </dd></dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServerConfig.html#a9429a2b67b68c0020b46f0d0cc9222df">syslog4cj.server.impl.AbstractSyslogServerConfig</a>.</p>

</div>
</div>
<a id="ad00cd9dddf822d16d0e92f14a18e7f9b" name="ad00cd9dddf822d16d0e92f14a18e7f9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad00cd9dddf822d16d0e92f14a18e7f9b">&#9670;&#160;</a></span>getEventHandlers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.getEventHandlers </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: ArrayList&lt;<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF.html">SyslogServerEventHandlerIF</a>&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取事件处理器列表。 </p><dl class="section return"><dt>Returns</dt><dd>事件处理器列表 </dd></dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServerConfig.html#ae6f07b5181f140dbc5ee6c6b117f74e0">syslog4cj.server.impl.AbstractSyslogServerConfig</a>.</p>

</div>
</div>
<a id="a47ea014cf66bcaad8592704f89d6273f" name="a47ea014cf66bcaad8592704f89d6273f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47ea014cf66bcaad8592704f89d6273f">&#9670;&#160;</a></span>getHost()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.getHost </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取服务器的主机名或 IP 地址。 </p><dl class="section return"><dt>Returns</dt><dd>主机名或 IP 地址 </dd></dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1AbstractNetSyslogServerConfig.html#ae6292423c7b3fe3a218856489f51af88">syslog4cj.server.impl.net.AbstractNetSyslogServerConfig</a>.</p>

</div>
</div>
<a id="a94b0fa2504852751f58914289aa13650" name="a94b0fa2504852751f58914289aa13650"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94b0fa2504852751f58914289aa13650">&#9670;&#160;</a></span>getPort()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.getPort </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: UInt16</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取服务器的端口号。 </p><dl class="section return"><dt>Returns</dt><dd>服务器的端口号 </dd></dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1AbstractNetSyslogServerConfig.html#a652c8d3e8170d0052e73c797edcf899b">syslog4cj.server.impl.net.AbstractNetSyslogServerConfig</a>.</p>

</div>
</div>
<a id="aa0008b3824b72945df13c31f1e927c92" name="aa0008b3824b72945df13c31f1e927c92"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0008b3824b72945df13c31f1e927c92">&#9670;&#160;</a></span>getShutdownWait()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.getShutdownWait </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int64</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取服务器关闭时等待的时间（毫秒）。 </p><dl class="section return"><dt>Returns</dt><dd>关闭时等待的时间（毫秒） </dd></dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServerConfig.html#abefa202efc30d7aee68de2c28abff4e9">syslog4cj.server.impl.AbstractSyslogServerConfig</a>.</p>

</div>
</div>
<a id="a75ba33dee69a1235317c5caf960ef36f" name="a75ba33dee69a1235317c5caf960ef36f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75ba33dee69a1235317c5caf960ef36f">&#9670;&#160;</a></span>insertEventHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.insertEventHandler </td>
          <td>(</td>
          <td class="paramname"><em>pos</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>eventHandler</em>:&#160;</td>
          <td class="paramtype">SyslogServerEventHandlerIF&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>在指定位置插入事件处理器。 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pos</td><td>插入位置 </td></tr>
    <tr><td class="paramname">eventHandler</td><td>要插入的事件处理器 </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServerConfig.html#a04adbdacc458470abf9a368006acebab">syslog4cj.server.impl.AbstractSyslogServerConfig</a>.</p>

</div>
</div>
<a id="a5345b1c553b5162c893e8f5a3b88427f" name="a5345b1c553b5162c893e8f5a3b88427f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5345b1c553b5162c893e8f5a3b88427f">&#9670;&#160;</a></span>isUseStructuredData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.isUseStructuredData </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>判断是否使用结构化数据（例如 RFC 5424 中的结构化数据）。 </p><dl class="section return"><dt>Returns</dt><dd>如果使用结构化数据，返回 true；否则返回 false </dd></dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServerConfig.html#afe73e824d95861bfab1dbe6878597b28">syslog4cj.server.impl.AbstractSyslogServerConfig</a>.</p>

</div>
</div>
<a id="a3f13eee15fca3622f22a51af176fb942" name="a3f13eee15fca3622f22a51af176fb942"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f13eee15fca3622f22a51af176fb942">&#9670;&#160;</a></span>removeAllEventHandlers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.removeAllEventHandlers </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>移除所有的事件处理器。 </p>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServerConfig.html#afc61cd6f4f774f67ec1e013f4b7089ff">syslog4cj.server.impl.AbstractSyslogServerConfig</a>.</p>

</div>
</div>
<a id="a1f7a48cd393dcf0665c670302418cb82" name="a1f7a48cd393dcf0665c670302418cb82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f7a48cd393dcf0665c670302418cb82">&#9670;&#160;</a></span>removeEventHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.removeEventHandler </td>
          <td>(</td>
          <td class="paramname"><em>eventHandler</em>:&#160;</td>
          <td class="paramtype">SyslogServerEventHandlerIF</td><td>)</td>
          <td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>从事件处理器列表中移除指定的事件处理器。 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">eventHandler</td><td>要移除的事件处理器 </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServerConfig.html#a5b986329dc3d5822bdbbec61d45110de">syslog4cj.server.impl.AbstractSyslogServerConfig</a>.</p>

</div>
</div>
<a id="ac5839a5025377bea3396aa250b2d7a85" name="ac5839a5025377bea3396aa250b2d7a85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5839a5025377bea3396aa250b2d7a85">&#9670;&#160;</a></span>setDateTimeFormatter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.setDateTimeFormatter </td>
          <td>(</td>
          <td class="paramname"><em>dateTimeFormatter</em>:&#160;</td>
          <td class="paramtype">DateTimeFormat</td><td>)</td>
          <td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置日期时间格式化器，用于格式化日志的时间戳。 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dateTimeFormatter</td><td>日期时间格式化器对象 </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServerConfig.html#a7a52c37e1e05a615b5997b0268339986">syslog4cj.server.impl.AbstractSyslogServerConfig</a>.</p>

</div>
</div>
<a id="aa5f8a1e3b35cf689c452e6c9c4f7f359" name="aa5f8a1e3b35cf689c452e6c9c4f7f359"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5f8a1e3b35cf689c452e6c9c4f7f359">&#9670;&#160;</a></span>setHost()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.setHost </td>
          <td>(</td>
          <td class="paramname"><em>host</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置服务器的主机名或 IP 地址。 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">host</td><td>服务器的主机名或 IP 地址 </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1AbstractNetSyslogServerConfig.html#ae233ac432eab2cff808f6270141acb70">syslog4cj.server.impl.net.AbstractNetSyslogServerConfig</a>.</p>

</div>
</div>
<a id="ad96606f134c6966bd8ea71a6882946f7" name="ad96606f134c6966bd8ea71a6882946f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad96606f134c6966bd8ea71a6882946f7">&#9670;&#160;</a></span>setPort()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.setPort </td>
          <td>(</td>
          <td class="paramname"><em>port</em>:&#160;</td>
          <td class="paramtype">UInt16</td><td>)</td>
          <td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置服务器的端口号。 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">port</td><td>服务器的端口号 </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1net_1_1AbstractNetSyslogServerConfig.html#a6ca953c768df6acbf1489d2ed77ce197">syslog4cj.server.impl.net.AbstractNetSyslogServerConfig</a>.</p>

</div>
</div>
<a id="a4d9354e70b71f6e8ec772bd38bb23e53" name="a4d9354e70b71f6e8ec772bd38bb23e53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d9354e70b71f6e8ec772bd38bb23e53">&#9670;&#160;</a></span>setShutdownWait()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.setShutdownWait </td>
          <td>(</td>
          <td class="paramname"><em>shutdownWait</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置服务器关闭时等待的时间（毫秒）。 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">shutdownWait</td><td>关闭时等待的时间（毫秒） </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServerConfig.html#ad4f8af820b08b6b7a4180799137a8f21">syslog4cj.server.impl.AbstractSyslogServerConfig</a>.</p>

</div>
</div>
<a id="a5fbaede54eaf4e985370c416fcda4b95" name="a5fbaede54eaf4e985370c416fcda4b95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fbaede54eaf4e985370c416fcda4b95">&#9670;&#160;</a></span>setUseStructuredData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerConfigIF.setUseStructuredData </td>
          <td>(</td>
          <td class="paramname"><em>useStructuredData</em>:&#160;</td>
          <td class="paramtype">Bool</td><td>)</td>
          <td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置是否使用结构化数据（例如 RFC 5424 中的结构化数据）。 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">useStructuredData</td><td>如果为 true，使用结构化数据；否则不使用 </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1AbstractSyslogServerConfig.html#ae7ccbfb0718c0d8cec8b3dbcc7a9fe12">syslog4cj.server.impl.AbstractSyslogServerConfig</a>.</p>

</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>src/server/common/<a class="el" href="syslog__server__config__if_8cj.html">syslog_server_config_if.cj</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
